import { useElementSize } from "@vueuse/core";
import { computed } from "vue";
export default function usePower(el, modelValue) {
  const { width } = useElementSize(el);

  const power = computed(() => {
    return width.value / modelValue.value.controllWidth;
  });

  return { power };
}
